Graphic Layer Schema
GEOMETRY Element
See Also  Send comments on this topic.
Graphic Layer Schema : GEOMETRY Element

Glossary Item Box

Description

Defines the geometry of a feature.

Diagram

PART Element POINT Element Sequence GEOMETRY Element

Overview

GEOMETRY
Defines the geometry of a feature.
maxx optional xs:double
Right top x-coordinate in map units.
maxy optional xs:double
Right top y-coordinate in map units.
minx optional xs:double
Left bottom x-coordinate in map units.
miny optional xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
The type of geometry.
Sequence
POINT
Defines a point or vertex in a graphic element.When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
PART
Defines a part for a polyline or polygon graphic element.

Attributes

NameTypeUseDefaultFixedDescription
maxxxs:doubleoptional  Right top x-coordinate in map units.
maxyxs:doubleoptional  Right top y-coordinate in map units.
minxxs:doubleoptional  Left bottom x-coordinate in map units.
minyxs:doubleoptional  Left bottom y-coordinate in map units.
typeRestriction of xs:stringoptional  The type of geometry.

Remarks

  • If the GEOMETRY type is rect, ellipse, or circle, then PART is not used.
  • minx, miny, maxx, maxy attributes are not required when type is point, pointz, or pointm.

Examples

Restrictions

  • If type is point, pointz, or pointm, then the child element is POINT. Otherwise, the child element is PART.

Source

<xs:element name="GEOMETRY" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Defines the geometry of a feature.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="apg:POINT" />
      <xs:element ref="apg:PART" />
    </xs:sequence>
    <xs:attribute name="maxx" type="xs:double">
      <xs:annotation>
        <xs:documentation>Right top x-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="maxy" type="xs:double">
      <xs:annotation>
        <xs:documentation>Right top y-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="minx" type="xs:double">
      <xs:annotation>
        <xs:documentation>Left bottom x-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="miny" type="xs:double">
      <xs:annotation>
        <xs:documentation>Left bottom y-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="type">
      <xs:annotation>
        <xs:documentation>The type of geometry.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="point" />
          <xs:enumeration value="pointz" />
          <xs:enumeration value="pointm" />
          <xs:enumeration value="polyline" />
          <xs:enumeration value="polylinez" />
          <xs:enumeration value="polylinem" />
          <xs:enumeration value="polygon" />
          <xs:enumeration value="polygonz" />
          <xs:enumeration value="polygonm" />
          <xs:enumeration value="rect" />
          <xs:enumeration value="ellipse" />
          <xs:enumeration value="circle" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.